package com.example.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.entity.Integral;
import org.apache.ibatis.annotations.Insert;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author tyhxzy
 * @since 2023-11-03
 */
public interface IntegralMapper extends BaseMapper<Integral> {
    @Insert("insert into integral(mid,opoints,gpoints) values (#{mid},0,0)")
    void addPoints(Integral integral);
}
